import { IRouteMetaConfig } from 'vue3-common/types'

export const adminMeta: IRouteMetaConfig = {
  '/admin/dashboard': {
    title: '首页',
    icon: 'admin-dashboard',
    order: 1,
    redirect: '/admin/dashboard/index'
  },
  '/admin/dashboard/index': {
    title: '首页',
    icon: ''
  },
  '/admin/blog': {
    title: '博客管理',
    icon: 'admin-blog',
    order: 2,
    redirect: '/admin/blog/article'
  },
  '/admin/blog/article': {
    title: '文章管理',
    icon: ''
  },
  '/admin/blog/category': {
    title: '类别管理',
    icon: ''
  },
  '/admin/blog/visit': {
    title: '访问记录',
    icon: ''
  },
  '/admin/blog/detail/:id': {
    title: '详细',
    icon: '',
    hidden: true
  },
  '/admin/blog/preview/:id': {
    title: '详细',
    icon: '',
    hidden: true
  },
  '/admin/quartz': {
    title: '定时任务',
    icon: 'admin-quartz',
    order: 3,
    redirect: '/admin/quartz/index'
  },
  '/admin/quartz/index': {
    title: '定时任务',
    icon: ''
  },
  '/admin/account': {
    title: '账号管理',
    icon: 'admin-account',
    order: 4,
    redirect: '/admin/account/index'
  },
  '/admin/account/index': {
    title: '账号管理',
    icon: ''
  }
}
